<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../css/harmonise.css" type="text/css" />
<link rel="stylesheet" href="../css/base-groups.css" type="text/css" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="../css/ie.css" />
<![endif]-->
<title>Fixed Rounded Corner Box Example | Chapter 4 | CSS Mastery </title>
</head>
<style type="text/css">
<!--
/* pretty stuff */

h2 {
	color: #94b767;
}

/* rounded corner box */

.box {
  width: 424px;
  background: url(img/tile2.gif) repeat-y;
}

.box h2 {
  background: url(img/top2.gif) no-repeat left top;
  padding-top: 20px;
}

.box .last {
  background: url(img/bottom2.gif) no-repeat left bottom;
  padding-bottom: 20px;
}

.box h2, .box p {
  padding-left: 20px;
  padding-right: 20px;
}

p {
  margin: 0; /* fixes bug in IE */
}



-->
</style>
</head>

<body>
<h1>Fixed Rounded Corner Box Example</h1>

<div class="box">
<h2>Lorem Ipsum</h2>
<p class="last">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin venenatis turpis ut quam. In dolor. Nam ultrices nisl sollicitudin sapien. Ut lacinia aliquet ante.<p>
</div>
</body>
</html>
